<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="proId" type="hidden"  th:value="${proId}" class="form-control" >
                        <div class="form-group">
                            <label class="col-sm-3 control-label">课程：</label>
                            <div class="col-sm-8">
                                <input name="coursesId" class="form-control" type="hidden" th:value="${coursesId}">
                                <input name="parentId"id="parentId" type="hidden"  th:value="${parentId}" class="form-control" >
                                <input id="coursesId" class="form-control" type="text"  th:value="${coursesName}" readonly>
                                <!--                                <select id="coursesId" name="coursesId" placeholder="请选择课程" class="form-control">-->
                                <!--                                    <option value="">请选择</option>-->
                                <!--                                    <option th:each="item : ${courses}"  th:value="${item.id}" th:text="${item.name}"></option>-->
                                <!--                                </select>-->
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">对应知识点：</label>
                            <div class="col-sm-8">
                                <input id="kpointsId" name="kpointsId" class="form-control" placeholder="请选择知识点" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">章节名：</label>
                            <div class="col-sm-8">
                                <input id="name" name="name" class="form-control" type="text">

                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">最短学习时长(分钟)：</label>
                            <div class="col-sm-8">
                                <input id="minTime" name="minTime" class="form-control" type="number">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">内容描述：</label>
                            <div class="col-sm-8">
                                <textarea id="introduce"  style="height: 150px" name="introduce" class="form-control" type="text"></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">是否免费：</label>
                            <div class="col-sm-8">
                                <select id="isFree" name="isFree" class="form-control" type="text">
                                    <option value="">请选择</option>
                                    <option value="0">免费</option>
                                    <option value="1">收费</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/webJs/jzweb/chapter/add.js">
</script>
</body>
</html>
